/*
 * @Author: wuzhouhai wzh200x@126.com
 * @Date: 2024-07-02 14:21:23
 * @LastEditors: wuzhouhai wzh200x@126.com
 * @LastEditTime: 2024-07-12 15:30:54
 * @FilePath: \dwys_web\extensions\phoenix-plugin-client\assets\core\net\message\gameMessage\s2c\s2cMessage_login.ts
 * @Description: 
 */
import { Opcode } from "../../../../defines/opcode.define";
import proto from "../../../../protoc/ts/proto.js";
import { BaseMessage } from "../../message";

export class S2C_MessageLogin extends BaseMessage{
    constructor() {
        super(Opcode.Opcode_SC_LOGIN);
    }

    Decode(data: Uint8Array): void {
        if (!data) {
            return;
        }
        this.messageEntity = proto.s2c_login.decode(data);
    }
    
}